package com.jiaomatech.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * Description: $VAL$ .<br>
 *
 * @author jm
 *     Created By 2018/12/11 下午1:56
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping(value = "", method = RequestMethod.GET)
    public Mono<String> sayHello() {
        return Mono.create(sink -> sink.success("Hello,World"));
    }
}
